package com.example.websocket.pattern.creational.singleton;

public class StaticInnerClassSingle {

    private static class singletonHolder {
        private static final StaticInnerClassSingle INSTANCE = new StaticInnerClassSingle();
    }

    private StaticInnerClassSingle() {}

    public static final StaticInnerClassSingle getInstance() {
        return singletonHolder.INSTANCE;
    }
}
